import axios from "../../axios";

export const insert = (params) => {
    return axios({
        url: 'breply/insert',
        method: 'POST',
        params
    })
}

export const deleteOne = (params) => {
    return axios({
        url: 'breply/delete',
        method: 'DELETE',
        params
    })
}

export const update = (params) => {
    return axios({
        url: 'breply/update',
        method: 'PUT',
        params
    })
}

export const getOne = (params) => {
    return axios({
        url: 'breply/getOne',
        method: 'GET',
        params
    })
}

export const getList = (params) => {
    return axios({
        url: 'breply/getList',
        method: 'GET',
        params
    })
}
